package copyengine.sceneAndDialog.dialog
{
    import starling.core.Starling;

    public class CEDialogUtils
    {
        public function CEDialogUtils()
        {
        }

        [Inline]
        public static function setDialogToSceneCenter(_dialog:ICEDialog):void
        {
            _dialog.dialogContainer.x = Starling.current.stage.stageWidth >> 1;
            _dialog.dialogContainer.y = Starling.current.stage.stageHeight >> 1;
        }
    }
}
